From 4a144e82d50d49535b124b7d56c10ce2b7d00ffd Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 25 Jun 2005 19:59:25 +0000 Subject: [PATCH] update from Olaf. --- pathaway.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pathaway.c b/pathaway.c index 26f45147e..ea1fd2a1d 100644 --- a/pathaway.c +++ b/pathaway.c @@ -66,7 +66,7 @@ static arglist_t ppdb_args[] = {"dbname", &dbname, "Database name", NULL, ARGTYPE_STRING}, {"deficon", &deficon, "Default icon name", NULL, ARGTYPE_STRING}, {"snlen", &snlen_opt, "Length of generated shortnames", NULL, ARGTYPE_INT }, - {0, 0, 0, 0 } + {0, 0, 0, 0, 0 } }; static void @@ -266,7 +266,7 @@ double ppdb_decode_coord(const char *str) if (*str == 'O') german_release = 1; - *tmp = strchr(str, ' '); + tmp = strchr(str, ' '); if ((tmp) && (tmp - str < 4)) { CHECK_INP(3, sscanf(str,"%c%d %lf", &dir, °, &val)); -- 2.30.2